package com.my.library.service.impl;

import java.util.Set;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.my.library.dao.impl.AppDAO;
import com.my.library.entity.Role;

@Service
public class AppServiceImpl {
	Logger log = Logger.getLogger(this.getClass());
	
	@Autowired
	private AppDAO appDAO;

	public String getData(Set<Role> rs, int appId) {
		return appDAO.getData(rs, appId);
	}

	public void delete(int id) {
		appDAO.delete(id);
	}
}
